I had very little time this week, and most of that was spent on the other metric, so I am sure this is woefully unoptimised.